package views.activity.volunteer;

import javax.swing.JPanel;
import javax.swing.JButton;

import java.awt.Color;
import java.awt.Font;
import javax.swing.JLabel;
import javax.swing.JComboBox;

public class DatesPanel extends JPanel {

	public JComboBox<String> cmbMonthFiled;
	public JComboBox<String> cmbDayFiled;
	public JComboBox<String> cmbYearFiled;
	public JComboBox<String> cmbMonthApproved;
	public JComboBox<String> cmbDayApproved;
	public JComboBox<String> cmbYearApproved;
	public JComboBox<String> cmbMonthOfActivity;
	public JComboBox<String> cmbDayOfActivity;
	public JComboBox<String> cmbYearOfActivity;
	public JComboBox<String> cmbMonthDue;
	public JComboBox<String> cmbDayDue;
	public JComboBox<String> cmbYearDue;
	public JButton btnBack;
	public JButton btnCancel;
	public JButton btnNext;
	
	public DatesPanel() {
		this.setSize(520, 389);
		this.setLayout(null);
		
		JLabel lblDateFiled = new JLabel("Date Filed");
		lblDateFiled.setFont(new Font("Arial", Font.PLAIN, 12));
		lblDateFiled.setBounds(111, 10, 299, 20);
		add(lblDateFiled);
		
		JLabel lblDateApproved = new JLabel("Date Approved");
		lblDateApproved.setFont(new Font("Arial", Font.PLAIN, 12));
		lblDateApproved.setBounds(111, 60, 299, 20);
		add(lblDateApproved);
		
		JLabel lblDateOfActivity = new JLabel("Date of Activity");
		lblDateOfActivity.setFont(new Font("Arial", Font.PLAIN, 12));
		lblDateOfActivity.setBounds(111, 110, 299, 20);
		add(lblDateOfActivity);
		
		JLabel lblDateDue = new JLabel("Date Due");
		lblDateDue.setFont(new Font("Arial", Font.PLAIN, 12));
		lblDateDue.setBounds(111, 160, 299, 20);
		add(lblDateDue);
		
		cmbMonthFiled = new JComboBox<String>();
		cmbMonthFiled.setFont(new Font("Arial", Font.PLAIN, 12));
		cmbMonthFiled.setBounds(111, 30, 140, 20);
		cmbMonthFiled.setBackground( Color.WHITE );
		add(cmbMonthFiled);
		
		cmbDayFiled = new JComboBox<String>();
		cmbDayFiled.setFont(new Font("Arial", Font.PLAIN, 12));
		cmbDayFiled.setBounds(261, 30, 60, 20);
		cmbDayFiled.setBackground( Color.WHITE );
		add(cmbDayFiled);
		
		cmbYearFiled = new JComboBox<String>();
		cmbYearFiled.setFont(new Font("Arial", Font.PLAIN, 12));
		cmbYearFiled.setBounds(331, 30, 80, 20);
		cmbYearFiled.setBackground( Color.WHITE );
		add(cmbYearFiled);
		
		cmbMonthApproved = new JComboBox<String>();
		cmbMonthApproved.setFont(new Font("Arial", Font.PLAIN, 12));
		cmbMonthApproved.setBounds(111, 80, 138, 20);
		cmbMonthApproved.setBackground( Color.WHITE );
		add(cmbMonthApproved);
		
		cmbDayApproved = new JComboBox<String>();
		cmbDayApproved.setFont(new Font("Arial", Font.PLAIN, 12));
		cmbDayApproved.setBounds(261, 80, 60, 20);
		cmbDayApproved.setBackground( Color.WHITE );
		add(cmbDayApproved);
		
		cmbYearApproved = new JComboBox<String>();
		cmbYearApproved.setFont(new Font("Arial", Font.PLAIN, 12));
		cmbYearApproved.setBounds(331, 80, 80, 20);
		cmbYearApproved.setBackground( Color.WHITE );
		add(cmbYearApproved);
		
		cmbMonthOfActivity = new JComboBox<String>();
		cmbMonthOfActivity.setFont(new Font("Arial", Font.PLAIN, 12));
		cmbMonthOfActivity.setBounds(111, 130, 138, 20);
		cmbMonthOfActivity.setBackground( Color.WHITE );
		add(cmbMonthOfActivity);
		
		cmbDayOfActivity = new JComboBox<String>();
		cmbDayOfActivity.setFont(new Font("Arial", Font.PLAIN, 12));
		cmbDayOfActivity.setBounds(261, 130, 60, 20);
		cmbDayOfActivity.setBackground( Color.WHITE );
		add(cmbDayOfActivity);
		
		cmbYearOfActivity = new JComboBox<String>();
		cmbYearOfActivity.setFont(new Font("Arial", Font.PLAIN, 12));
		cmbYearOfActivity.setBounds(331, 130, 80, 20);
		cmbYearOfActivity.setBackground( Color.WHITE );
		add(cmbYearOfActivity);
		
		cmbMonthDue = new JComboBox<String>();
		cmbMonthDue.setFont(new Font("Arial", Font.PLAIN, 12));
		cmbMonthDue.setBounds(111, 180, 138, 20);
		cmbMonthDue.setBackground( Color.WHITE );
		add(cmbMonthDue);
		
		cmbDayDue = new JComboBox<String>();
		cmbDayDue.setFont(new Font("Arial", Font.PLAIN, 12));
		cmbDayDue.setBounds(261, 180, 60, 20);
		cmbDayDue.setBackground( Color.WHITE );
		add(cmbDayDue);
		
		cmbYearDue = new JComboBox<String>();
		cmbYearDue.setFont(new Font("Arial", Font.PLAIN, 12));
		cmbYearDue.setBounds(331, 180, 80, 20);
		cmbYearDue.setBackground( Color.WHITE );
		add(cmbYearDue);
		
		btnBack = new JButton("Back");
		btnBack.setFont(new Font("Arial", Font.PLAIN, 12));
		btnBack.setBounds(70, 353, 80, 25);
		this.add(btnBack);
		
		btnCancel = new JButton("Cancel");
		btnCancel.setFont(new Font("Arial", Font.PLAIN, 12));
		btnCancel.setBounds(220, 353, 80, 25);
		this.add(btnCancel);
		
		btnNext = new JButton("Next");
		btnNext.setFont(new Font("Arial", Font.PLAIN, 12));
		btnNext.setBounds(370, 353, 80, 25);
		this.add(btnNext);
	}
}
